package com.xjm.ips.mapper;

import com.xjm.ips.entity.Employee;
import com.xjm.ips.entity.Employeeec;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeecMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Employeeec record);

    int insertSelective(Employeeec record);

    Employeeec selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Employeeec record);

    int updateByPrimaryKey(Employeeec record);

    List<Employeeec> getEmployeeEc(@Param("pageNo") Integer pageNo,
                                   @Param("pageSize") Integer pageSize,
                                   @Param("employeeec") Employeeec employeeec);

    Long getTotal(@Param("employeeec") Employeeec employeeec);

    Integer addEmployeeEc(Employeeec employeeec);

    List<Employeeec> getEmpLateandTakeLeave(@Param("pageNo") Integer pageNo,
                                            @Param("pageSize") Integer pageSize);

    Long getTotalFromView();
}